package com.ruoyi.ssh.domain;

import com.ruoyi.fk.domain.Question;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目选项对象 question_option
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选项ID */
    private Integer id;

    /** 题目ID */
    @Excel(name = "题目ID")
    private Integer questionId;

    /** 选项A内容 */
    @Excel(name = "选项A内容")
    private String optionA;

    /** 选项B内容 */
    @Excel(name = "选项B内容")
    private String optionB;

    /** 选项C内容 */
    @Excel(name = "选项C内容")
    private String optionC;

    /** 选项D内容 */
    @Excel(name = "选项D内容")
    private String optionD;

    /** 正确答案选项（如"A"或"A,B"） */
    @Excel(name = "正确答案选项", readConverterExp = "如=A")
    private String correctOptions;

    /** 题目解析 */
    @Excel(name = "题目解析")
    private String analysis;

    /** 0是已删除，1是保留 */
    private Integer del;

    /**
     * 题目外键实体
     */
    private Question question;

}
